﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/TemplateAdmin.Master" AutoEventWireup="true" CodeBehind="AccessoriesList_Detail.aspx.cs" Inherits="OnlineDigitalCameraWebsite.Admin.AccessoriesList_Detail" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <h2 class="sub-header"> <asp:Label ID="lblTieuDe"  runat="server" Text=""></asp:Label></h2>
    <h4 class="sub-header"> 
        <a href="/Admin/AccessoriesList.aspx" class="label label-info">Quay về danh sách</a>
        <asp:HyperLink ID="lblLink" Target="_blank" runat="server" Text=""></asp:HyperLink>

    </h4>
   
    <table class="auto-style1">
      
        <tr>
             <td  colspan="2">  <asp:Label ID="lbThongBao" class="label label-info" runat="server" Text=""></asp:Label><br /><br /> </td>
            
        </tr>
        <tr>
            <td style="width:100px">Tên </td>
            <td style="width:1200px">
                <asp:TextBox ID="txtName" CssClass="form-control" runat="server" Width="500px" required></asp:TextBox><br />
            </td>
        </tr>
        <tr>
            <td>Use</td>
            <td>
                <asp:TextBox ID="txtUse" CssClass="form-control" runat="server" Width="500px" required></asp:TextBox><br />
            </td>
       </tr>
          <tr>
            <td>Hình ảnh</td>
            <td> 
                <asp:Image ID="imgHinhAnh" runat="server" />
                <asp:FileUpload ID="FileUpload1" runat="server" /><br />
            </td>
        </tr>
        <tr>
            <td>Giá</td>
            <td>
                <asp:TextBox ID="txtprice" CssClass="form-control" runat="server" Width="500px" required></asp:TextBox> VNĐ<br />
            </td>
        </tr>
        <tr>
            <td>Chi tiết</td>
            <td>
                    <CKEditor:CKEditorControl ID="txtdes" runat="server" Width="100%" Height="500px"></CKEditor:CKEditorControl>
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator4"  ControlToValidate="txtdes" runat="server" ErrorMessage="Nhập Chi tiết" ForeColor="Red"></asp:RequiredFieldValidator>
                                     <br />
             </td>
        </tr>
         
         <tr>
            <td>Tình trạng</td>
            <td>
                <asp:DropDownList ID="ddlStatus"  CssClass="form-control" runat="server" Width="300px"> 
                    <asp:ListItem Value="False">Không hoạt động</asp:ListItem>
                    <asp:ListItem Value="True">Hoạt động</asp:ListItem>
                </asp:DropDownList> <br />
            </td>
        </tr>
        <tr>
              
            <td></td>
            <td>
                <asp:Button ID="btnOK" CssClass="btn btn-info" runat="server" Text="Lưu Lại" OnClick="btnOK_Click" />
                <br /><br /><br /><br />
            </td>
        </tr>
    </table>
</asp:Content>
